Pgetppid

Section: Oct. 1, 1991 (2)
Updated: MiNT Programmer's Manual
Index Return to Main Contents
 

NAME

Pgetppid - get the process id for the parent of the current process  

SYNOPSIS

WORD Pgetppid();
 

DESCRIPTION

Pgetppid returns the process id of the parent of the currently running process. The process id is a positive 16 bit integer. The call is always successful.  

SEE ALSO

Pgetpgrp(2), Pgetpid(2)  

NOTES

If the current process was started directly by the kernel, then Pgetppid will return 0.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
NOTES

This document was created by man2html, using the manual pages.
Time: 11:13:58 GMT, June 22, 2025